<?php
/*
* @Created by Phpstorm
* @User: Zhangxinlei
* @Date: 
* @Time:
*/
declare (strict_types = 1);
namespace app\common\validate;


use think\Validate;

class AdminDynamic extends Validate
{
    /**
     * 定义验证规则
     * 格式：'字段名'	=>	['规则1','规则2'...]
     *
     * @var array
     */
    protected $rule = [
        'content|发布内容' => 'require',
        'title|发布标题' => 'require',
    ];
}